package com.apps.sannotation.constraints;


import java.lang.annotation.*;

/**
 * 字符串长度最小验证
 */
@Target({ElementType.PARAMETER,ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface StrMinLen {

    int min() default 0;

    String errMsg() default "字符串长度低于允许范围";
}
